/** 初始化 **/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, input, button, textarea, p, blockquote, th, td, form, pre {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:active, a:hover {
    outline: 0
}

img {
    display: inline-block;
    border: none;
    vertical-align: middle;
}

li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3 {
    font-weight: 400;
}

h4, h5, h6 {
    font-size: 100%;
    font-weight: 400;
}

button, input, select, textarea {
    font-size: 100%;
}

input, button, textarea, select, optgroup, option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/** 初始化全局标签 **/
body {
    line-height: 24px;
    font: 14px Helvetica Neue, Helvetica, PingFang SC, \5FAE\8F6F\96C5\9ED1, Tahoma, Arial, sans-serif;
}

hr {
    height: 1px;
    margin: 10px 0;
    border: 0;
    clear: both;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #777;
}

a cite {
    font-style: normal;
    *cursor: pointer;
}

/* 头部样式 */
/* 空心箭头 */
.admin-arrow {
    position: absolute;
    right: 7px;
    top: 50%;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
}

.arrow-up {
    transform: rotate(-45deg);
}

.arrow-down {
    transform: rotate(135deg);
}

.arrow-left {
    transform: rotate(-135deg);
}

.arrow-right {
    transform: rotate(45deg);
}

html, body {
    height: 100%;
}

.admin-layout {
    position: relative;
    height: 100%;
}

.admin-layout .admin-header {
    background: #2F4050;
    position: relative;
    height: 60px;
}

.admin-layout .admin-side {
    background-color: #fff;
    top: 60px;
    width: 200px;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #f0f0f8;
    z-index: 1;
    border-right: 1px solid #f0f0f8;
}

.admin-layout .admin-body {
    top: 60px;
    bottom: 2px;
    border-left: solid 1px #f0f0f8;
    border-top: solid 1px #f0f0f8;
    position: absolute;
    left: 200px;
    right: 0;
    width: auto;
    overflow: hidden;
    box-sizing: border-box;
}

.admin-header .admin-main {
    width: auto;
    margin: 0 15px;
    position: relative;
}

.admin-header .admin-login-box {
    line-height: 60px;
    display: inline-block;
}

.admin-header .logo {
    background: url(../../image/index/logo.png) no-repeat left;
    background-size: 30px 30px;
    padding-left: 39px;
    font-size: 20px;
    color: #fff;
    line-height: 30px;
    display: inline-block;
}

.admin-header .admin-header-item {
    float: right;
}

.admin-nav {
    position: relative;
    padding: 0 20px;
    color: #fff;
    border-radius: 2px;
    font-size: 0;
    box-sizing: border-box;
    vertical-align: top;
    display: inline-block;
}

.admin-nav .admin-nav-item {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    padding: 0 10px;
}

.admin-nav .admin-nav-item a {
    display: inline-block;
    vertical-align: top;
    color: #fff;
    transition: all .3s;
    -webkit-transition: all .3s;
    cursor: pointer;
}

.admin-tab-menu .admin-tab-menu-a {
    text-align: center;
    padding: 0 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-tab-menu .admin-nav-selected {
    background-color: #2F4050;
}

.admin-header-item-div {
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    height: 30px;
    margin: 15px 0;
    background: #fff;
}

.admin-tree-item .admin-nav-more,
.admin-nav-item .admin-nav-more {
    content: '';
    width: 0;
    height: 0;
    border-style: dashed;
    border-color: transparent;
    overflow: hidden;
    transition: all .2s;
    -webkit-transition: all .2s;
    position: absolute;
    top: 50%;
    right: 3px;
    margin-top: -3px;
    border-width: 6px;
    border-top-color: #fff;
    border-top-color: rgba(255, 255, 255, .7);
}

.admin-nav-child {
    display: none;
    position: absolute;
    left: 0;
    top: 60px;
    min-width: 100%;
    line-height: 36px;
    padding: 5px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
    border: 1px solid #d2d2d2;
    background-color: #fff;
    border-radius: 2px;
    white-space: nowrap;
    z-index: 99;
}

.admin-tree-item .admin-nav-more {
    border-top-color: #333;
}

.admin-tree-item:hover > a > .admin-nav-more,
.admin-nav-item:hover .admin-nav-more {
    margin-top: -9px;
    border-style: dashed;
    border-color: transparent;
    border-bottom-style: solid;
    border-bottom-color: #fff;
}

.admin-tree-item:hover > a > .admin-nav-more {
    border-bottom-color: #333;
}

.admin-nav-item:hover .admin-nav-child {
    display: block;
}

.admin-nav .admin-nav-child a {
    color: #333;
    display: block;
    padding: 0 20px;
}

@-webkit-keyframes layui-upbit { /* 微微往上滑入 */
    from {
        -webkit-transform: translate3d(0, 30px, 0);
        opacity: 0.3;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes layui-upbit {
    from {
        transform: translate3d(0, 30px, 0);
        opacity: 0.3;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.admin-anim-upbit {
    -webkit-animation-name: layui-upbit;
    animation-name: layui-upbit;
}

.admin-anim {
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.admin-header-item-div > input {
    display: none;
    margin-left: 14px;
    vertical-align: top;
    margin-top: 6px;
    outline: none;
    border: none;
}

.admin-header-item-div > .admin-header-img-outer {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.admin-header-item-div > .admin-header-img-outer img {
    height: 16px;
    width: 14px;
    margin: 7px 8px;
    vertical-align: top;
}

/* 左侧菜单样式 */

.admin-side-scroll {
    position: absolute;
    top: 0;
    bottom: 70px;
    width: 100%;
    overflow-y: auto;
}

.admin-toggle-side {
    position: absolute;
    height: 70px;
    bottom: 0;
    width: 100%;
}

.admin-side-scroll .admin-tree-item {
    display: block;
    width: 100%;
    line-height: 45px;
    position: relative;
}

.admin-side-scroll .admin-tree-item > a {
    position: relative;
    height: 45px;
    line-height: 45px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    padding: 0 20px;
    cursor: pointer;
    /*text-align: center;*/
}

.admin-side-scroll .admin-tree-item > a cite {
    margin-left: 10px;
}

.admin-tree-item > .admin-nav-tree {
    display: none;
}

.admin-nav-tree-main > .admin-tree-item:hover > a,
.admin-nav-tree-main > .admin-tree-item.admin-tree-itemed > a {
    background-color: #a7b1c2;
    color: #fff;
}

.admin-nav-tree-main .admin-tree-item {
    background: #f0f0f8;
}

.admin-nav-tree-main > .admin-tree-item {
    background: #fff;
}

.admin-tree-item:hover > a,
.admin-tree-item.admin-tree-itemed > a {
    color: #4f93fe;
}

.admin-tree-item.admin-tree-itemed > a .admin-arrow {
    transform: rotate(135deg);
}

.admin-tree-item.admin-tree-itemed > .admin-nav-tree {
    display: block;
}

.admin-side.admin-side-toggle {
    width: 60px;
}

.admin-side.admin-side-toggle .admin-nav-tree-main > .admin-tree-item > a {
    text-align: center;
    width: 60px;
    padding: 0;
}

.admin-side.admin-side-toggle .admin-nav-tree-main > .admin-tree-item > a cite,
.admin-side.admin-side-toggle .admin-nav-tree-main > .admin-tree-item > a .admin-arrow {
    display: none;
}

.admin-side.admin-side-toggle .admin-tree-item {
    background: #fff;
}

.admin-side.admin-side-toggle .admin-tree-item > .admin-nav-tree {
    position: absolute;
    top: 0;
    left: 61px;
    width: 200px;
    border: 1px solid #f0f0f8;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.admin-side.admin-side-toggle .admin-tree-item.admin-tree-itemed:hover > .admin-nav-tree,
.admin-side.admin-side-toggle .admin-tree-item:hover > .admin-nav-tree {
    display: block;
}

.admin-side.admin-side-toggle .admin-tree-item.admin-tree-itemed:hover > a,
.admin-side.admin-side-toggle .admin-tree-item:hover > a {
    color: #4f93fe;
}

.admin-side.admin-side-toggle .admin-tree-item.admin-tree-itemed > a {
    color: #333;
    background: #fff;
}

.admin-side.admin-side-toggle .admin-nav-tree-main > .admin-tree-item:hover > a,
.admin-side.admin-side-toggle .admin-nav-tree-main > .admin-tree-itemed:hover > a {
    background-color: #9bc0fa;
    color: #fff;
}

.admin-side.admin-side-toggle .admin-tree-item.admin-tree-itemed > .admin-nav-tree {
    display: none;
}

.admin-body.admin-body-toggle {
    left: 60px;
}

.arrow {
    width: 24px;
    height: 24px;
    margin: 10px auto;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    background: #ccc;
}

.arrow-o-left:before,
.arrow-o-right:before {
    display: block;
    font-size: 24px;
    font-family: FontAwesome;
    font-weight: 300;
    text-shadow: none;
    color: #FFF;
    position: relative;
    top: -1px;
}

.arrow-o-left:before {
    content: '\F104';
    left: 6px;
}

.arrow-o-right:before {
    content: '\F105';
    left: 8px;
}

/* 右侧主体样式 */

.admin-tab-title-outer {
    border-bottom: 1px solid #f0f0f8;
    position: relative;
    /*border-left: 1px solid #dfdfdf;*/
}

.admin-tab-title {
    margin-left: 40px;
    margin-right: 40px;
    position: relative;
    overflow: hidden;
    left: 0;
    height: 40px;
    white-space: nowrap;
    font-size: 0;
    transition: all .2s;
    -webkit-transition: all .2s;
}

.admin-tab-title-outer .arrow-left {
    cursor: pointer;
    left: 18px;
    right: auto;
}

.admin-tab-title-outer .arrow-right {
    cursor: pointer;
    right: 18px;
}

.admin-tab-title li {
    position: relative;
    line-height: 40px;
    min-width: 65px;
    padding: 0 15px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    transition: all .2s;
    -webkit-transition: all .2s;
}

.admin-tab-title-outer:before,
.admin-tab-title-outer:after,
.admin-tab-title li:before {
    content: " ";
    position: absolute;
    border: 1px solid #f0f0f8;
    height: 14px;
    top: 50%;
    margin-top: -7px;
}

.admin-tab-title-outer:after {
    right: 40px;
}

.admin-tab-title-outer:before {
    left: 40px;
}

.admin-tab-title li:before {
    left: 0;
}

.admin-tab-title li > cite {
    margin: 0 5px;
    font-style: normal;
}

.admin-tab-title li.admin-tab-selected {
    color: #4f93fe;
}

.admin-tab .admin-tab-item {
    display: none;
}

.admin-tab .admin-tab-item.admin-show {
    display: block;
}

.admin-tab .admin-tab-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.admin-contextmenu {
    position: absolute;
    line-height: 36px;
    padding: 5px 0;
    border: 1px solid #d2d2d2;
    background-color: white;
    z-index: 999;
    border-radius: 2px;
    white-space: nowrap;
    top: 30px;
}

.admin-contextmenu ul li {
    padding: 0 15px;
}

.admin-contextmenu ul li:hover {
    background-color: #eee;
    cursor: pointer;
}

/*dhtmlx新增成功样式提示框*/
.dhtmlx-success {
    border: 1px solid #bcbcbc;
    color: #fff;
}

.dhtmlx-success div {
    background-color: #3c763d;
}